package com.daoliuhe.scaffold.model;

import java.util.List;

public class ListName extends Pagable {
	
    private String id;

    private String name;

    private String description;

    private String enabled;
    
    /**
     * api名称
     */
    private String apiName;
    
    /**
     * 列表类型:0 普通列表  1 层叠列表
     */
    private String listType;

    private String createTime;

    private String updateTime;
    
    /**
     * 有权限的apiName
     */
    private List<String> apiNamePermit;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getEnabled() {
        return enabled;
    }

    public void setEnabled(String enabled) {
        this.enabled = enabled;
    }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getApiName() {
		return apiName;
	}

	public void setApiName(String apiName) {
		this.apiName = apiName;
	}

	public String getListType() {
		return listType;
	}

	public void setListType(String listType) {
		this.listType = listType;
	}

	public List<String> getApiNamePermit() {
		return apiNamePermit;
	}

	public void setApiNamePermit(List<String> apiNamePermit) {
		this.apiNamePermit = apiNamePermit;
	}

	@Override
	public String toString() {
		return "ListName [id=" + id + ", name=" + name + ", description=" + description + ", enabled=" + enabled
				+ ", apiName=" + apiName + ", listType=" + listType + ", createTime=" + createTime + ", updateTime="
				+ updateTime + "]";
	}

	
}